#include <cstddef>
#define _CRT_SECURE_NO_WARNINGS 1
size_t my_strlen(char* arr)
{
	int count = 0;
	while (*arr)
	{
		count++;
		arr++;
	}
	return count;
}

void test1()
{
	char arr[] = "abcdefg";
	size_t len = my_strlen(arr);
	printf("%d", len);
}

int main()
{
	test1();
	return 0;
}